package cn.hniu.service;

import cn.hniu.pojo.Users;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UsersService {
    //查询用户
    public IPage findUserInformation(Integer begin, Integer size);
    //搜索用户
    public List<Users> findUserByCondition(String name,Integer begin, Integer size);
    //添加用户
    public Integer addUser(Users users);
    //修改用户
    public Integer updateUser(Users users);
    //删除用户
    public Integer deleteUser(Integer id);
}
